serial: powerpc: Implement CONFIG_SERIAL_MULTI into p3mx serial driver
authorMarek Vasut <[email protected]>
Thu, 13 Sep 2012 10:35:54 +0000 (12:35 +0200)
committerTom Rini <[email protected]>
Mon, 15 Oct 2012 18:53:53 +0000 (11:53 -0700)
commit088a4f3cdfcf5f194768f6fc54c96d01ba128d50
treea618734f107fb78a5a1372490b324ffce5fb38c9
parent26d8eaaa48a9fda94a1bbbf02610dcec5eb8bf9f
serial: powerpc: Implement CONFIG_SERIAL_MULTI into p3mx serial driver

Implement support for CONFIG_SERIAL_MULTI into p3mx serial driver.
This driver was so far only usable directly, but this patch also adds
support for the multi method. This allows using more than one serial
driver alongside the p3mx driver. Also, add a weak implementation
of default_serial_console() returning this driver.

Signed-off-by: Marek Vasut <[email protected]>
Cc: Marek Vasut <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: Anatolij Gustschin <[email protected]>
Cc: Stefan Roese <[email protected]>
board/prodrive/p3mx/serial.c
common/serial.c